#!/bin/bash

# 你的学号
your_number="20221302"

# 创建一个空文件
> sn.txt

# 将你的学号写入文件
echo "$your_number" >> sn.txt

# 循环写入其他学号
for i in {01..29}; do
    # 跳过你的学号
    if [ "$i" != "02" ]; then
        echo "202213$i" >> sn.txt
    fi
done
